home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr26
/
blrmu13.zip
/
BLKYELO.ASM
< prev
next >
Wrap
Assembly Source File
|
1993-06-01
|
2KB
|
65 lines
page ,132
title blkyelo ( black bak, brdr - yelo crsr ) 04/13/91 - 02:15 pm
;
code segment para public 'code'
;
org 256
;
assume cs:code
;
blkyelo proc far
;
;*------------------------
;* set border color
;*------------------------
sbc:
mov ah,11 ; set color palette fct
mov bh,0 ; text mode
mov bl,0 ; border = blk
int 16
;*------------------------
;* set cursor position
;*------------------------
scp:
mov ah,2 ; set cursor position fct
mov bh,0 ; page number 0
mov dh,0 ; row 0
mov dl,0 ; col 0
int 16
;*---------------------------------
;* write character and attribute
;*---------------------------------
wcaa:
mov ah,9 ; write char and attr fct
mov al,32 ; char = space
mov bh,0 ; page number 0
mov bl,14 ; x'0e' ; attr = black back, yelo cursor
mov cx,2000 ; 25 * 80 = full screen
int 16
;
exit: mov al,0 ; return code = 0
mov ah,76 ; terminate with ret code fct
int 33
;
blkyelo endp
;
code ends
;
end blkyelo
;
;---------------------------------------
; Color Chart
;---------------------------------------
;
; Black = 00 Light Black = 08
; Blue = 01 Light Blue = 09
; Green = 02 Light Green = 10
; Cyan = 03 Light Cyan = 11
; Red = 04 Light Red = 12
; Magenta = 05 Light Magenta = 13
; Brown = 06 Light Brown = 14 ( Yellow )
; White = 07 Light White = 15
;
;----------------------------------------
;